Optimal. Leaf size=85 \[ b d e^2 \log (F) F^{a+b c} \text {Ei}(b d x \log (F))-\frac {e^2 F^{a+b c+b d x}}{x}+2 e f F^{a+b c} \text {Ei}(b d x \log (F))+\frac {f^2 F^{a+b c+b d x}}{b d \log (F)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.28, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {2199, 2194, 2177, 2178} \[ b d e^2 \log (F) F^{a+b c} \text {Ei}(b d x \log (F))-\frac {e^2 F^{a+b c+b d x}}{x}+2 e f F^{a+b c} \text {Ei}(b d x \log (F))+\frac {f^2 F^{a+b c+b d x}}{b d \log (F)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2177
Rule 2178
Rule 2194
Rule 2199
Rubi steps
\begin {align*} \int \frac {F^{a+b (c+d x)} (e+f x)^2}{x^2} \, dx &=\int \left (f^2 F^{a+b c+b d x}+\frac {e^2 F^{a+b c+b d x}}{x^2}+\frac {2 e f F^{a+b c+b d x}}{x}\right ) \, dx\\ &=e^2 \int \frac {F^{a+b c+b d x}}{x^2} \, dx+(2 e f) \int \frac {F^{a+b c+b d x}}{x} \, dx+f^2 \int F^{a+b c+b d x} \, dx\\ &=-\frac {e^2 F^{a+b c+b d x}}{x}+2 e f F^{a+b c} \text {Ei}(b d x \log (F))+\frac {f^2 F^{a+b c+b d x}}{b d \log (F)}+\left (b d e^2 \log (F)\right ) \int \frac {F^{a+b c+b d x}}{x} \, dx\\ &=-\frac {e^2 F^{a+b c+b d x}}{x}+2 e f F^{a+b c} \text {Ei}(b d x \log (F))+\frac {f^2 F^{a+b c+b d x}}{b d \log (F)}+b d e^2 F^{a+b c} \text {Ei}(b d x \log (F)) \log (F)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.15, size = 58, normalized size = 0.68 \[ F^{a+b c} \left (F^{b d x} \left (\frac {f^2}{b d \log (F)}-\frac {e^2}{x}\right )+e (b d e \log (F)+2 f) \text {Ei}(b d x \log (F))\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 83, normalized size = 0.98 \[ \frac {{\left (b^{2} d^{2} e^{2} x \log \relax (F)^{2} + 2 \, b d e f x \log \relax (F)\right )} F^{b c + a} {\rm Ei}\left (b d x \log \relax (F)\right ) - {\left (b d e^{2} \log \relax (F) - f^{2} x\right )} F^{b d x + b c + a}}{b d x \log \relax (F)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (f x + e\right )}^{2} F^{{\left (d x + c\right )} b + a}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 135, normalized size = 1.59 \[ -b d \,e^{2} F^{a} F^{b c} \Ei \left (1, -b d x \ln \relax (F )+b c \ln \relax (F )+a \ln \relax (F )-\left (b c +a \right ) \ln \relax (F )\right ) \ln \relax (F )-2 e f \,F^{a} F^{b c} \Ei \left (1, -b d x \ln \relax (F )+b c \ln \relax (F )+a \ln \relax (F )-\left (b c +a \right ) \ln \relax (F )\right )-\frac {e^{2} F^{b d x} F^{b c +a}}{x}+\frac {f^{2} F^{b d x} F^{b c +a}}{b d \ln \relax (F )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.92, size = 68, normalized size = 0.80 \[ F^{b c + a} b d e^{2} \Gamma \left (-1, -b d x \log \relax (F)\right ) \log \relax (F) + 2 \, F^{b c + a} e f {\rm Ei}\left (b d x \log \relax (F)\right ) + \frac {F^{b d x + b c + a} f^{2}}{b d \log \relax (F)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.59, size = 89, normalized size = 1.05 \[ 2\,F^{a+b\,c}\,e\,f\,\mathrm {ei}\left (b\,d\,x\,\ln \relax (F)\right )-\frac {F^{b\,d\,x}\,F^{a+b\,c}\,e^2}{x}+\frac {F^{a+b\,c+b\,d\,x}\,f^2}{b\,d\,\ln \relax (F)}-F^{a+b\,c}\,b\,d\,e^2\,\ln \relax (F)\,\mathrm {expint}\left (-b\,d\,x\,\ln \relax (F)\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {F^{a + b \left (c + d x\right )} \left (e + f x\right )^{2}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________